.PHONY: check install

check:
	@mypy . || true
	@flake8 . || true
	@pyflakes . || true

install:
	pip install --user -e .
	cp bluepower-*.svg ~/.local/share/icons/hicolor/16x16/apps/
	touch ~/.local/share/icons/hicolor/
	gtk-update-icon-cache
	cat bluepower.desktop | sed s!HOME_FOLDER!${HOME}! > ~/.config/autostart/bluepower.desktop
